﻿using System;
using System.Text;
using System.Data;
using System.Collections;
using DataBaseConnection;

namespace DataEntity
{
    /// <summary>
    /// 留言板
    /// </summary>
    public partial class tab_Message : IEntity
    {
        public tab_Message() { }

        public tab_Message(bool Nullable)
            : base(Nullable) { }

        #region 实体成员

        /// <summary>
        /// [内容] - Text(0)
        /// </summary>
        public string msg_Content = string.Empty;

        /// <summary>
        /// [电子邮件] - VarChar(255)
        /// </summary>
        public string msg_Email = string.Empty;

        /// <summary>
        /// [自动编号] - Int
        /// </summary>
        [AutoKey]
        public int? msg_ID = 0;

        /// <summary>
        /// [是否新消息] - Bit
        /// </summary>
        public bool? msg_IsNewMsg = false;

        /// <summary>
        /// [留言者名称] - VarChar(50)
        /// </summary>
        public string msg_MsgName = string.Empty;

        /// <summary>
        /// [发布日期] - DateTime
        /// </summary>
        public DateTime? msg_PubDate = DateTime.Now;

        /// <summary>
        /// [联系方式] - VarChar(255)
        /// </summary>
        public string msg_Relation = string.Empty;

        /// <summary>
        /// [回复内容] - Text(0)
        /// </summary>
        public string msg_ReplyContent = string.Empty;

        /// <summary>
        /// [回复日期] - DateTime
        /// </summary>
        public DateTime? msg_ReplyDate = DateTime.Now;

        /// <summary>
        /// [回复人] - VarChar(50)
        /// </summary>
        public string msg_ReplyObject = string.Empty;

        /// <summary>
        /// [主题] - VarChar(255)
        /// </summary>
        public string msg_Title = string.Empty;

        #endregion
    }
}

